//package com.example.alibabanacosdiscoveryclient.config;
//
//import net.javacrumbs.shedlock.core.LockProvider;
//import net.javacrumbs.shedlock.provider.redis.spring.RedisLockProvider;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.redis.connection.RedisConnectionFactory;
//
///**
// * @author:guoq
// * @date:2024/10/17
// * @descripion:
// */
//@Configuration
//public class ScheduledLockRedisConfig {
//    @Bean
//    public LockProvider lockProvider(RedisConnectionFactory connectionFactory) {
//        return new RedisLockProvider(connectionFactory);
//    }
//
//}
